/*
 * Copyright (C) 拾光分享网 
 * All rights reserved, Designed By www.hiai.top.
 * Email：goodsking@163.com.
 * Version：V1.0.2(20230701).
 */
package top.hiai.common.model.base;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

/**
 * @Author www.hiai.top
 * @Email goodsking@163.com
 * @Message 更多资源尽在www.hiai.top
 * @Introduction 类的介绍
 */


@SuppressWarnings("serial")
public abstract class InformationBase<M extends InformationBase<M>> extends Model<M> implements IBean {

    public void setNid(Integer nid) {
        set("nid", nid);
    }

    public Integer getNid() {
        return getInt("nid");
    }

    public void setUid(Integer uid) {
        set("uid", uid);
    }

    public Integer getUid() {
        return getInt("uid");
    }

    public void setTitle(java.lang.String title) {
        set("title", title);
    }

    public java.lang.String getTitle() {
        return getStr("title");
    }

    public void setContent(String content) {
        set("content", content);
    }

    public String getContent() {
        return getStr("content");
    }

    public void setCreateAt(java.util.Date createAt) {
        set("createAt", createAt);
    }

    public java.util.Date getCreateAt() {
        return get("createAt");
    }

    public void setType(Integer type) {
        set("type", type);
    }

    public Integer getType() {
        return getInt("type");
    }

    public void setIs_see(Integer is_see) {
        set("is_see", is_see);
    }

    public Integer getIs_see() {
        return getInt("is_see");
    }

    public void setAll_user(Integer all_user) {
        set("all_user", all_user);
    }

    public Integer getAll_user() {
        return getInt("all_user");
    }
}